import axiosHelper from './axiosHelper'

export const verificationCode = (data: any) => {
  return axiosHelper.read({
    url: 'api/v2/User/SendVerificationCode',
    method: 'post',
    params: data
  })
}

export const AccountCationCode = (data: any) => {
  return axiosHelper.read({
    url: 'api/v1/Captcha',
    method: 'get',
    params: data
  })
}

export const AccountCationCodeLogin = (data: any) => {
  return axiosHelper.read({
    url: 'api/v1/Captcha/validate?',
    method: 'get',
    params: data
  })
}